package com.onenine.chat.model;

import org.litepal.crud.DataSupport;

import java.io.Serializable;

/**
 * 创建时间：2018/7/23 0023 9:59
 * 创建人：fly
 * 功能描述：新朋友
 */
public class LNewFriend extends DataSupport implements Serializable {

    private String userId;
    private String targetUserId;
    private String lastMessage;
    private long datetime;
    private String extra;
    private boolean isRead;

    public String getUserId() {
        return userId == null ? "" : userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getLastMessage() {
        return lastMessage == null ? "" : lastMessage;
    }

    public void setLastMessage(String lastMessage) {
        this.lastMessage = lastMessage;
    }

    public long getDatetime() {
        return datetime;
    }

    public void setDatetime(long datetime) {
        this.datetime = datetime;
    }

    public void setTargetUserId(String targetUserId) {
        this.targetUserId = targetUserId;
    }

    public String getTargetUserId() {
        return targetUserId == null ? "" : targetUserId;
    }

    public String getExtra() {
        return extra == null ? "" : extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public boolean isRead() {
        return isRead;
    }

    public void setRead(boolean read) {
        isRead = read;
    }
}
